function Scene(canvasId, type){
	if(type=="2D"){
		return new Scene2D(canvasId);
	}
	if(type=="3D"){
		return new Scene3D(canvasId);
	}
	return new Scene2D(canvasId);
}